﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/BMP_List.master" AutoEventWireup="true" ResponseEncoding="utf-8"
    CodeFile="Default.aspx.cs" Inherits="Pages_MsgList_Default" %>

<asp:Content ID="contentHeader" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="contentSearch" ContentPlaceHolderID="contentPlaceHolderToolBar"
    runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="ddlCity"></asp:AsyncPostBackTrigger>
        </Triggers>
        <ContentTemplate>
            <asp:DropDownList ID="ddlCity" runat="server" Field="Equip_City" Width="100px" AutoPostBack="True"
                OnSelectedIndexChanged="ddlCity_SelectedIndexChanged">
            </asp:DropDownList>
            <asp:DropDownList ID="ddlDistrict" runat="server" Width="100px" Field="Equip_County">
            </asp:DropDownList>
        </ContentTemplate>
    </asp:UpdatePanel>
    信息发布时间
    <asp:TextBox ID="fromData" runat="server" Field="Msg_SendTime" Opt="&#62;=" onFocus="GetMaxDate('toData');"
        ClientIDMode="Static" Width="80">
    </asp:TextBox>
    至
    <asp:TextBox ID="toData" runat="server" Field="Msg_SendTime" Opt="&#60;=" onFocus="GetMinDate('fromData');"
        ClientIDMode="Static" Width="80">    </asp:TextBox>
    <asp:DropDownList ID="ddlMsgStatus" runat="server" Field="Text" Opt="=" Width="160px">
    </asp:DropDownList>
    模糊查询
    <asp:TextBox runat="server" ID="txtAll" Field="Equip_SimNo,Equip_No"
        Opt="%" ToolTip="设备内SIM卡号，设备编号">
    </asp:TextBox>


    </asp:TextBox>
</asp:Content>
<asp:Content ID="contentMain" ContentPlaceHolderID="contentPlaceHolder" runat="Server">
    <asp:GridView ID="gvInfos" runat="server">
        <Columns>
            <asp:BoundField DataField="Equip_City" SortExpression="Equip_City" HeaderText="市" />
            <asp:BoundField DataField="Equip_County" SortExpression="Equip_County" HeaderText="县（区）" />
            <asp:BoundField DataField="Msg_Content" SortExpression="Msg_Content" HeaderText="信息内容" />
            <asp:BoundField DataField="Text" SortExpression="Text" HeaderText="信息接收状态" />
            <asp:BoundField DataField="Equip_SimNo" SortExpression="Equip_SimNo" HeaderText="设备内SIM卡号" />
            <asp:TemplateField SortExpression="Msg_SendTime" HeaderText="信息发布时间">
                <ItemTemplate>
                    <%# Eval("Msg_SendTime")%></ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox runat="server" ID="MsgListInfo_Msg_SendTime" onclick="WdatePicker();"
                        Text='<%# Eval("Msg_SendTime")%>' /></EditItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Content>
